/*
Copyright (C) Ariff Ehsan, Abdul Hadi Fikri

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

/*  Author : Ariff Ehsan
 *  Date   : June 22, 2009
 */


#ifndef __LEDS_H__
#define __LEDS_H__


#include <system.h>


#define LEDS_PORT   PORTC
#define LEDS_DDR    DDRC

#define LEDS_LED0   PC0
#define LEDS_LED1   PC1
#define LEDS_LED2   PC2
#define LEDS_LED3   PC3
#define LEDS_LED4   PC4
#define LEDS_LED5   PC5
#define LEDS_LED6   PC6
#define LEDS_LED7   PC7


void LEDS_init(void);

void LEDS_on(uint8_t);
void LEDS_off(uint8_t);
void LEDS_set(uint8_t);
void LEDS_toggle(uint8_t);


#endif // __LEDS_H__
